package com.gpframework.module.process.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.process.mapper.GpProcessIncomingInspectWidthMapper;
import com.gpframework.module.process.domain.GpProcessIncomingInspectWidth;
import com.gpframework.module.process.domain.vo.GpProcessIncomingInspectWidthVo;
import com.gpframework.module.process.service.IGpProcessIncomingInspectWidthService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpProcessIncomingInspectWidth
 * @Author gpframework
 * @Date 2023-12-20
 * @Version 1.0.0
 * @Description 加工来料检验单幅宽Service业务层处理
 */
@Service
public class GpProcessIncomingInspectWidthServiceImpl extends ServiceImpl<GpProcessIncomingInspectWidthMapper, GpProcessIncomingInspectWidth> implements IGpProcessIncomingInspectWidthService {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2023-12-20
     * @Param [lqw]
     * @Return List<GpProcessIncomingInspectWidthVo>
     */
    @Override
    public List<GpProcessIncomingInspectWidthVo> listVo(QueryWrapper<GpProcessIncomingInspectWidth> lqw) {
        return this.baseMapper.listVo(lqw);
    }

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2023-12-20
     * @Param [id]
     * @Return GpProcessIncomingInspectWidthVo
     */
    @Override
    public GpProcessIncomingInspectWidthVo getVoById(Long id) {
        return this.baseMapper.getVo(id);
    }
}
